home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Misc
/
NewFile
/
Source
/
Main.h
< prev
next >
Wrap
Text File
|
1992-11-11
|
1KB
|
48 lines
/* Generated by Interface Builder */
/*
--------------------------------------------------------
Main handles various miscellaneous functions as well as being the application's delegate (though not the service delegate; that's Server).
--------------------------------------------------------
*/
#import <objc/Object.h>
#import <sys/param.h>
@interface Main:Object
{
id protos;
id listener;
id speaker;
id main;
id server;
char appdir[MAXPATHLEN];
}
// Translate a prototype's name into an absolute pathname stored in fullname.
// Returns fullname.
- (char *)fullprotoname:(char *)fullname:(char *)name;
// The application's folder.
- (char *)appdir;
// Copy a file/directory.
- (int)copyfile:(char *)to:(char *)from;
// Initialization proper.
- loadstate;
// Store the defaults.
- savestate;
// Open a file by messaging the Workspace Manager.
- openinws:(char *)file;
// Open a file by messaging an application.
- openineditor:(char *)file:(char *)app;
// I'd rather discuss this.
- updateservices:sender;
@end